import { ReqPage, ResPage } from "@/api/interface/index";
import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @name 救援详情模块
 */
// 车辆列表
export const ambulanceList = (params: ReqPage) => {
  return http.get<ResPage<any>>(PORT1 + `/rescue/ambulanceList`, params, { loading: false });
};
// 患者信息
export const patientInfo = (params: { carNo: string }) => {
  return http.get<any>(PORT1 + `/rescue/patientInfo`, params, { loading: false });
};
